﻿using FireChat.Server.Database.Manager;
using FireChat.Server.Session.Receiver;
using FireChat.Share.Web.Actions;
using FireChat.Share.Web.Package;

namespace FireChat.Server.Session.Actions.Account;


/// <summary>
/// 登出账号
/// </summary>
internal class LogoutAction : ServerAction
{
    public override ServertActions Type => ServertActions.Logout;

    protected override ServerPackage ActionExcute(PackageReceiver receiver)
    {
        return receiver.Logout();
    }
}
